package com.itheima.Game;

public class Card
{
    private String number;
    private String color;
    //大小
    private int large;

    public Card(String number, String color, int large) {
        this.number = number;
        this.color = color;
        this.large = large;
    }
    public Card() {}
    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public int getLarge() {
        return large;
    }

    public void setLarge(int large) {
        this.large = large;
    }

    @Override
    public String toString() {
        return number + color;
    }
}
